import request from '@/utils/request'

/**
* 报警记录表分页查询
* @param {查询条件} data
*/
export function listCksWorkRecord(query) {
  return request({
    url: 'business/CksWorkRecord/list',
    method: 'get',
    params: query,
  })
}

/**
* 返工
* @param {选中行数据} list
*/
export function workStationReWork(list) {
  return request({
    url: 'business/CksWorkRecord/workStationReWork',
    data: list,
    method: 'post',
  })
}
